package com.esunny.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Component;

@SpringBootApplication
@MapperScan("com.esunny.springboot.mapper")
/*//强制使用cglib动态代理
@EnableAspectJAutoProxy(proxyTargetClass = true)*/
@EnableScheduling
@Component
public class FrontMachine {
    ThreadLocal threadLocal;

    public static void main(String[] args) throws Exception {
        SpringApplication.run(FrontMachine.class, args);


    }
}
